#ifndef IRIVIAPALETTE_H
#define IRIVIAPALETTE_H

#include "RIVIAResource_global.h"

class QImage;

class RIVIARESOURCESHARED_EXPORT IRIVIAPalette
{
public:
    IRIVIAPalette();
    virtual ~IRIVIAPalette();

public:
    void setMainPalette(int channel, int degree); //channel R:0, G:1, B:2
    void setSidePalette(int channel);

    QImage getMainQImage();
    QImage getSideQImage();

    void setCurColor(int r, int g, int b);
    QVector<int> getCurColor() const;

    void setCurBackColor(int r, int g, int b);
    QVector<int> getCurBackColor() const;
};

#endif // IRIVIAPALETTE_H
